package com.spring.activityApi.web.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.spring.activityApi.web.model.ActivityDetail;
import com.spring.activityApi.web.model.ActivityList;

/**
 * Created by wojunyu on 2015/7/26.
 */
public interface ActivityApiMapper {
//
//	 List<ActivityList> getActivityList(Map<String,Object> m);
//	 List<ActivityList> getMyActivityList(Map<String,Object> m);
//	 
//	 List<ActivityDetail> getActivityDetail(String s);
//	 String getActivityDetailState(Map<String,Object> m);
//	 void attendActivity(Map<String,Object> m);
	 
	List<HashMap> getActivityList(HashMap hm);
	
	int checkActivityID(HashMap hm);
	int CheckDuplicationAppointment(HashMap hm);
	int appointActivity(HashMap hm);
	int cancelActivity(String activity_appointmentID);
	List<HashMap> getMyActivityList(HashMap hm);
	
}
